<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文字阴影</title>
    <style>
        h2{
            text-shadow: 5px 5px 5px rgba(0,0,0,.3);   /**  1. x   2.y  3.阴影的范围 4.颜色 **/
            box-shadow: 5px 5px 5px rgba(0,0,0,.3);    /**  1. x   2.y  3.阴影的范围 4.颜色 **/
        } 
    </style>
</head>
<body>
    <h2>阴影</h2>
</body>
</html>